<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改costomuser')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-costomuser-edit" th:object="${specialCostomUserInfo}">
            <input name="id" th:field="*{id}" type="hidden">
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label is-required">部门ID：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="deptId" th:field="*{deptId}" class="form-control" type="text" required>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label is-required">costom id：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="costomId" th:field="*{costomId}" class="form-control" type="text" required>-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">管理后台用户ID：</label>
                <div class="col-sm-8">
                    <input name="adminUserId" th:field="*{adminUserId}" readonly class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">管理后台名称：</label>
                <div class="col-sm-8">
                    <input name="adminUserName" th:field="*{adminUserName}" readonly class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">管理后台用户手机号：</label>
                <div class="col-sm-8">
                    <input name="adminUserPhone" th:field="*{adminUserPhone}" readonly class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">每日推送的个数：</label>
                <div class="col-sm-8">
                    <input name="dayRemainNumber" th:field="*{dayRemainNumber}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">排序权重：</label>
                <div class="col-sm-8">
                    <input name="sortWeight" th:field="*{sortWeight}" class="form-control" type="text" required>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "special/costomuser";
        $("#form-costomuser-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-costomuser-edit').serialize());
            }
        }
    </script>
</body>
</html>